package com.si2.bean;

import java.awt.Point;
import java.awt.geom.Point2D;

public class AgenteBean {
	private int id;
	private Point2D posicao;
	private StepsBean stepsRed;
	private StepsBean stepsGreen;
	private StepsBean stepsBlue;
	private int type;
	private int gasto;
	
	public AgenteBean(int id, int x, int y){
		this.id = id;
		posicao = new Point(x, y);
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Point2D getPosicao() {
		return posicao;
	}

	public void setPosicao(Point2D posicao) {
		this.posicao = posicao;
	}
	
	public int getX(){
		return (int)posicao.getX();
	}
	
	public int getY(){
		return (int)posicao.getY();
	}

	public StepsBean getStepsRed() {
		return stepsRed;
	}

	public void setStepsRed(StepsBean stepsRed) {
		this.stepsRed = stepsRed;
	}

	public StepsBean getStepsGreen() {
		return stepsGreen;
	}

	public void setStepsGreen(StepsBean stepsGreen) {
		this.stepsGreen = stepsGreen;
	}

	public StepsBean getStepsBlue() {
		return stepsBlue;
	}

	public void setStepsBlue(StepsBean stepsBlue) {
		this.stepsBlue = stepsBlue;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getGasto() {
		return gasto;
	}

	public void setGasto(int gasto) {
		this.gasto = gasto;
	}
	
}
